package DesignPattern.BuilderPattern.demo1;

/**
 * Created by User on 2017/12/20.
 */
public class Human {

    String name;

    String gender;

    Human father;

    Human mather;

    public String getName() {
        return name;
    }

    public Human setName(String name) {
        this.name = name;
        return this;
    }

    public String getGender() {
        return gender;
    }

    public Human setGender(String gender) {
        this.gender = gender;
        return this;
    }

    public Human getFather() {
        return father;
    }

    public Human setFather(Human father) {
        this.father = father;
        return this;
    }

    public Human getMather() {
        return mather;
    }

    public Human setMather(Human mather) {
        this.mather = mather;
        return this;
    }
}
